#ifndef PICTUREBOXINTERFACE_H
#define PICTUREBOXINTERFACE_H

#include <QtPlugin>
#include <QWidget>

class PictureBoxInterface
{
public:
    virtual ~PictureBoxInterface() {}
    virtual QWidget* createPictureBox(QWidget *parent = nullptr) = 0;
};

#define PictureBoxInterface_iid "PictureBox.Plugin.PictureBoxInterface"

QT_BEGIN_NAMESPACE
Q_DECLARE_INTERFACE(PictureBoxInterface, PictureBoxInterface_iid)
QT_END_NAMESPACE

#endif // PICTUREBOXINTERFACE_H
